package com.may.module.security.mapper;

import com.may.module.security.entity.PermissionEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author May
 * @date 2021/08/03 16:23
 */
@Mapper
public interface PermissionMapper {

    /**
     * 查询所有权限
     * @author mayuanbao
     * @date 2021/08/03 17:04
     * @return java.util.List<com.may.module.security.entity.PermissionEntity>
     */
    @Select("select * from sys_permission")
    List<PermissionEntity> findAllPermission();
}




